// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef _SNAKE_GAME_HPP_
#define _SNAKE_GAME_HPP_

#include <Snake/Position.hpp>
#include <Snake/Direction.hpp>

#include <Snake/Snake.hpp>

class Game
{
	public:
		Game(uint8_t size);

		const uint8_t size;

		Snake snake;
		Position apple;

		bool isInsideField(const Position& position) const;

		void doStep();
};

#endif
